﻿// -----------------------------------------------------------------------
// <copyright file="PathTooLongException.cs" company="Company">
// Company 2011
// </copyright>
// -----------------------------------------------------------------------

using System;
using System.Runtime.InteropServices;
using Company.IO.Interfaces;

namespace Company.System.IO
{
    /// <summary>
    /// The exception that is thrown when a path or file name is longer than the system-defined maximum length.
    /// </summary>
    [Serializable]
    [Guid("c8902f49-7bc8-412f-8c27-27e3aa154ccd")]
    public class PathTooLongException : Exception, IPathTooLongException
    {
        /// <summary>
        /// Initializes a new instance of the PathTooLongException class
        /// </summary>
        /// <param name="systemIoConverter">The converter to use</param>
        /// <param name="pathTooLongException">The PathTooLongException object</param>
        public PathTooLongException(ISystemIoConverter systemIoConverter,
                                    global::System.IO.PathTooLongException pathTooLongException)
            : base(systemIoConverter, pathTooLongException)
        {
        }
    }
}